package com.jl.cloud.commom.exception;


/**
 * 基础异常枚举定义
 * @author liang.jun
 */
public enum SystemExceptionEnum implements ExceptionMessage {
	EROOR_02010101("000001", "系统繁忙,请稍后重试"),
	EROOR_02010102("999901", "你被限流了"),
	;

	private String code;
	private String message;

	private SystemExceptionEnum(String code, String message) {
		this.code = code;
		this.message = message;
	}


	@Override
	public String getCode() {
		return code;
	}

	@Override
	public String getMessage() {
		return message;
	}
}
